package com.sunwayworld.basemodule.business.operationbatch.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.operationbatch.bean.LimsOrderTaskSupplementBean;
import com.sunwayworld.basemodule.business.operationbatch.dao.LimsOrderTaskSupplementDao;
import com.sunwayworld.basemodule.business.operationbatch.mapper.LimsOrderTaskSupplementMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsOrderTaskSupplementDaoImpl extends MybatisDaoSupport<LimsOrderTaskSupplementBean, Long> implements LimsOrderTaskSupplementDao {

    @Autowired
    private LimsOrderTaskSupplementMapper limsOrderTaskSupplementMapper;

    @Override
    public LimsOrderTaskSupplementMapper getMapper() {
        return limsOrderTaskSupplementMapper;
    }

    @Override
    public List<Map<String, Object>> selectOrderTaskSupplementToColumns(MapperParameter parameter) {
        return getMapper().selectOrderTaskSupplementToColumns(parameter);
    }
}
